package com.cf.studiomanage.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.sql.Timestamp;

@Data
@Schema(description = "消息实体")
public class Message {
    @Schema(description = "消息ID")
    private Long id;

    @Schema(description = "接收者用户ID")
    private Long userId;

    @Schema(description = "消息类型（SYSTEM/EMAIL/SMS）")
    private String type;

    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "是否已读")
    private Boolean isRead;

    @Schema(description = "创建时间")
    private Timestamp createdAt;
}
